from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import create_engine


Base = declarative_base()
engine = create_engine(
    'mysql+pymysql://root:qq741456@127.0.0.1:3306/happy?charset=utf8mb4')
Session = sessionmaker(bind=engine)
session = Session()
